/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package behaviourdiagram;

import fsm.FSM;

import org.eclipse.emf.common.util.EList;

import org.eclipse.emf.ecore.EObject;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Behaviour</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link behaviourdiagram.Behaviour#getName <em>Name</em>}</li>
 *   <li>{@link behaviourdiagram.Behaviour#getPriority <em>Priority</em>}</li>
 *   <li>{@link behaviourdiagram.Behaviour#getRepresentedBy <em>Represented By</em>}</li>
 *   <li>{@link behaviourdiagram.Behaviour#getState <em>State</em>}</li>
 *   <li>{@link behaviourdiagram.Behaviour#getInputs <em>Inputs</em>}</li>
 *   <li>{@link behaviourdiagram.Behaviour#getOutputs <em>Outputs</em>}</li>
 *   <li>{@link behaviourdiagram.Behaviour#getInputCondition <em>Input Condition</em>}</li>
 *   <li>{@link behaviourdiagram.Behaviour#getOutputCondition <em>Output Condition</em>}</li>
 * </ul>
 * </p>
 *
 * @see behaviourdiagram.BehaviourdiagramPackage#getBehaviour()
 * @model annotation="gmf.node label='name, priority' label.icon='false' label.pattern='{0} : {1}' size='100,100'"
 * @generated
 */
public interface Behaviour extends EObject {
	/**
   * Returns the value of the '<em><b>Name</b></em>' attribute.
   * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Name</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
   * @return the value of the '<em>Name</em>' attribute.
   * @see #setName(String)
   * @see behaviourdiagram.BehaviourdiagramPackage#getBehaviour_Name()
   * @model
   * @generated
   */
	String getName();

	/**
   * Sets the value of the '{@link behaviourdiagram.Behaviour#getName <em>Name</em>}' attribute.
   * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
   * @param value the new value of the '<em>Name</em>' attribute.
   * @see #getName()
   * @generated
   */
	void setName(String value);

	/**
   * Returns the value of the '<em><b>Priority</b></em>' attribute.
   * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Priority</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
   * @return the value of the '<em>Priority</em>' attribute.
   * @see #setPriority(int)
   * @see behaviourdiagram.BehaviourdiagramPackage#getBehaviour_Priority()
   * @model
   * @generated
   */
	int getPriority();

	/**
   * Sets the value of the '{@link behaviourdiagram.Behaviour#getPriority <em>Priority</em>}' attribute.
   * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
   * @param value the new value of the '<em>Priority</em>' attribute.
   * @see #getPriority()
   * @generated
   */
	void setPriority(int value);

	/**
   * Returns the value of the '<em><b>Represented By</b></em>' reference.
   * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Represented By</em>' reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
   * @return the value of the '<em>Represented By</em>' reference.
   * @see #setRepresentedBy(FSM)
   * @see behaviourdiagram.BehaviourdiagramPackage#getBehaviour_RepresentedBy()
   * @model
   * @generated
   */
	FSM getRepresentedBy();

	/**
   * Sets the value of the '{@link behaviourdiagram.Behaviour#getRepresentedBy <em>Represented By</em>}' reference.
   * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
   * @param value the new value of the '<em>Represented By</em>' reference.
   * @see #getRepresentedBy()
   * @generated
   */
	void setRepresentedBy(FSM value);

	/**
   * Returns the value of the '<em><b>State</b></em>' containment reference.
   * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>State</em>' containment reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
   * @return the value of the '<em>State</em>' containment reference.
   * @see #setState(BehaviourState)
   * @see behaviourdiagram.BehaviourdiagramPackage#getBehaviour_State()
   * @model containment="true" required="true"
   * @generated
   */
	BehaviourState getState();

	/**
   * Sets the value of the '{@link behaviourdiagram.Behaviour#getState <em>State</em>}' containment reference.
   * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
   * @param value the new value of the '<em>State</em>' containment reference.
   * @see #getState()
   * @generated
   */
	void setState(BehaviourState value);

	/**
   * Returns the value of the '<em><b>Inputs</b></em>' containment reference list.
   * The list contents are of type {@link behaviourdiagram.BehaviourInput}.
   * It is bidirectional and its opposite is '{@link behaviourdiagram.BehaviourInput#getBehaviour <em>Behaviour</em>}'.
   * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Inputs</em>' containment reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
   * @return the value of the '<em>Inputs</em>' containment reference list.
   * @see behaviourdiagram.BehaviourdiagramPackage#getBehaviour_Inputs()
   * @see behaviourdiagram.BehaviourInput#getBehaviour
   * @model opposite="behaviour" containment="true"
   *        annotation="gmf.affixed foo='bar'"
   * @generated
   */
	EList<BehaviourInput> getInputs();

	/**
   * Returns the value of the '<em><b>Outputs</b></em>' containment reference list.
   * The list contents are of type {@link behaviourdiagram.BehaviourOutput}.
   * It is bidirectional and its opposite is '{@link behaviourdiagram.BehaviourOutput#getBehaviour <em>Behaviour</em>}'.
   * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Outputs</em>' containment reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
   * @return the value of the '<em>Outputs</em>' containment reference list.
   * @see behaviourdiagram.BehaviourdiagramPackage#getBehaviour_Outputs()
   * @see behaviourdiagram.BehaviourOutput#getBehaviour
   * @model opposite="behaviour" containment="true"
   *        annotation="gmf.affixed foo='bar'"
   * @generated
   */
	EList<BehaviourOutput> getOutputs();

  /**
   * Returns the value of the '<em><b>Input Condition</b></em>' attribute.
   * <!-- begin-user-doc -->
   * <p>
   * If the meaning of the '<em>Input Condition</em>' attribute isn't clear,
   * there really should be more of a description here...
   * </p>
   * <!-- end-user-doc -->
   * @return the value of the '<em>Input Condition</em>' attribute.
   * @see #setInputCondition(String)
   * @see behaviourdiagram.BehaviourdiagramPackage#getBehaviour_InputCondition()
   * @model
   * @generated
   */
  String getInputCondition();

  /**
   * Sets the value of the '{@link behaviourdiagram.Behaviour#getInputCondition <em>Input Condition</em>}' attribute.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @param value the new value of the '<em>Input Condition</em>' attribute.
   * @see #getInputCondition()
   * @generated
   */
  void setInputCondition(String value);

  /**
   * Returns the value of the '<em><b>Output Condition</b></em>' attribute.
   * <!-- begin-user-doc -->
   * <p>
   * If the meaning of the '<em>Output Condition</em>' attribute isn't clear,
   * there really should be more of a description here...
   * </p>
   * <!-- end-user-doc -->
   * @return the value of the '<em>Output Condition</em>' attribute.
   * @see #setOutputCondition(String)
   * @see behaviourdiagram.BehaviourdiagramPackage#getBehaviour_OutputCondition()
   * @model
   * @generated
   */
  String getOutputCondition();

  /**
   * Sets the value of the '{@link behaviourdiagram.Behaviour#getOutputCondition <em>Output Condition</em>}' attribute.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @param value the new value of the '<em>Output Condition</em>' attribute.
   * @see #getOutputCondition()
   * @generated
   */
  void setOutputCondition(String value);

} // Behaviour
